{{extend "layout.html"}}
<div class = "banner">
  <img class = "banner" src="/{{=appname}}/static/themes/CRMT/LA.jpg" alt="Banner"/>
  <div class="title">
    <!-- <img class = "logo" src="/{{=appname}}/static/img/sahanalarge_14.png" alt="Sahana Logo"/> -->
    <h1>Sahana</h1>
    <h2>{{=settings.get_system_name()}}</h2>
  </div>
</div>
<div class="row">
 <div class="span8">
  <div class="row">
   <div class="span4">
    <div class="intro">
     <h3>Understand Your </br>Community Resilience</h3>
     <p>Use maps and charts to understand the relationships between different factors which affect your community's resilience.</p>
     <h3>All Your Data in One Place</h3>
     <p>Manage the data you collect with data from external sources such as Hazard Data from USGS and Census Data</p>
    </div>
   </div>
   <div class="span4">
    <div class="updates">
     <h3>Updates</h3>
     <!--
     <span class="filter_opts">
      All | <a href="#">My Community</a>
     </span>-->
     {{=filter_form}}
     {{=updates}}
    </div>
   </div>
  </div>
  <div class="row">
   <a class='btn map-btn' href='/{{=appname}}/gis/index'><i class='icon-globe'></i> {{=T("Make a Map")}}</a>
   <div class="span8 map">
    {{=XML(map)}}
   </div>
  </div>
 </div>
 <div class="span4"> 
  <div class="community-data ">
   <h3>Community Data</h3>
   <p>Record the vulnerabilities, hazards, activities and resources which affect your community's resilience</p>
   {{for opt in response.menu:}}
    <a href='{{=opt["url"]}}/summary' class="">
     <i class='{{=opt["icon"]}}'></i> {{=opt["name"]}}
    </a>     {{=opt["cms"]}}
       <!--  
       <a href='{{=opt["url"]}}/summary' class="btn btn-info btn-large menu" type="button">
        <i class='{{=opt["icon"]}}'></i> {{=opt["name"]}}
       </a>
       <a href='{{=opt["url"]}}/create' class="btn btn-info btn-large create" type="button"><i class='icon-plus'></i></a>
        -->
   {{pass}}
  </div>
 </div>
</div>
